<?php

class Application_Model_ApiStudent {

    public function getListStudent() {
        $arrResult = array();
        try {
            $objStudent = new Application_Model_Student();
            $arrResult = $objStudent->getStudentList();
            $json = Zend_Json::encode($arrResult);
        } catch (Exception $exc) {
            echo $exc->getTraceAsString();
        }
       return $json;
    }

}
